package io.github.talelin.latticy.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.github.talelin.latticy.common.pojo.BasePage;
import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.Date;

@Data
@Accessors(chain = true)
@TableName("t_product")
public class Product{

    @TableId(value = "subject_id", type = IdType.AUTO)
    private Long id;

    private String sku;

    private String name;

    private Integer alarmThreshold;

    private BigDecimal length;

    private BigDecimal width;

    private BigDecimal height;

    private Integer lwhType;

    private Integer weight;

    private Integer weightType;

    private Long categoryId;

    private String brand;

    private BigDecimal purchaseCost;

    private Integer packagType;

    private Integer singlePackagNum;

    private Long packagMaterial;

    private BigDecimal boxLength;

    private BigDecimal boxWidth;

    private BigDecimal boxHeight;

    private Integer boxLwhType;

    private Integer boxWeight;

    private Integer boxWeightType;

    private String customsCode;

    private Long origin;

    private Long company;

    private BigDecimal declarePrice;

    private String customsDesc;

    private Boolean isBattery;

    private Integer batteryType;

    private Integer batteryPosition;

    private String shopCode;

    private String shopName;

    private String creatorCode;

    private String fnsku;

    private Integer status;

    private Date createdDate;

    private Date updatedDate;


}